home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
clang
/
nn.zip
/
S-TEMPLA.H
< prev
next >
Wrap
C/C++ Source or Header
|
1989-12-31
|
4KB
|
191 lines
/*
* Use this file as a template for new s- files
*/
/*
* Include header files containing the following definitions:
*
* off_t, time_t, struct stat
*/
#include <sys/types.h>
#include <sys/stat.h>
/*
* Define if your system has system V like ioctls
*/
#define HAVE_TERMIO /* */
/*
* Define to use terminfo database.
* Otherwise, termcap is used
*/
#define USE_TERMINFO /* */
/*
* Specify the library (or libraries) containing the termcap/terminfo
* routines.
*
* Notice: nn only uses the low-level terminal access routines
* (i.e. it does not use curses).
*/
#define TERMLIB -ltermlib
/*
* Define HAVE_STRCHR if strchr() and strrchr() are available
*/
#define HAVE_STRCHR /* */
/*
* Define if a signal handler has type void (see signal.h)
*/
#define SIGNAL_HANDLERS_ARE_VOID /* */
/*
* Define if signals must be set again after they are caught
*/
#define RESET_SIGNAL_WHEN_CAUGHT /* */
/*
* Define MICRO_ALARM to timeout in 0.1 seconds if possible
*/
#define MICRO_ALARM() alarm(1) /* System V */
/*#define MICRO_ALARM() ualarm(100000,0) /* BSD 4.3 */
/*
* Define if your system has BSD like job control (SIGTSTP works)
*/
/* #define HAVE_JOBCONTROL /* */
/*
* Define if your system has a 4.3BSD like syslog library.
*/
#undef HAVE_SYSLOG
/*
* Define if your system provides the "directory(3X)" access routines
*
* If true, include the header file(s) required by the package below
* (remember that <sys/types.h> or equivalent is included above)
* Also typedef Direntry to the proper struct type.
*/
#define HAVE_DIRECTORY /* */
#include <dirent.h> /* System V */
/* #include <sys/dir.h> /* BSD */
typedef struct dirent Direntry; /* System V */
/* typedef struct direct Direntry; /* BSD */
/*
* Define if your system has a mkdir() library routine
*/
#define HAVE_MKDIR /* */
/*
* Define HAVE_GETHOSTNAME if your system provides a BSD like
* gethostname routine.
* Otherwise, define HAVE_UNAME if uname() is avaiable.
* As a final resort, define HOSTNAME to the name of your system
* (in config.h).
*/
/* #define HAVE_GETHOSTNAME /* BSD systems */
#define HAVE_UNAME /* System V */
/*
* Define HAVE_MULTIGROUP if system has simultaneous multiple group
* membership capability (BSD style).
* Also define NGROUPS or include the proper .h file if NGROUPS is
* not defined in <sys/param.h>.
* Also define GIDSET_TYPE to the type of the elements in the array
* initialized by getgroups() if different from "int" (many systems
* have a gid_t, but very few use it for getgroups()).
*/
/* #define HAVE_MULTIGROUP /* BSD */
/*
* Define DETATCH_TERMINAL to be a command sequence which
* will detatch a process from the control terminal
* Also include system files needed to perform this HERE.
* If not possible, just define it (empty)
*/
/* #include "...." */
#define DETATCH_TERMINAL /* setpgrp(); */
/*
* Specify where the Bourne Shell is.
*/
#define SHELL "/bin/sh"
/*
* Define AVOID_SHELL_EXEC if the system gets confused by
* #!/bin/sh
* lines in shell scripts, e.g. only reads #! and thinks it
* is a csh script.
*/
/* #define AVOID_SHELL_EXEC /* */
/*
* Specify the default mailer to be invoked by nnmail
*/
#define MAILX "/usr/bin/mailx" /* SV */
/* #define MAILX "/usr/ucb/Mail" /* BSD */
/*
* Specify the default pager & options.
*/
#define PAGER "/usr/bin/pg -n -s"
/*
* Specify the default print command and options.
*/
#define PRINTER "/usr/bin/lp -s"
/*
* Define the maximum length of any pathname that may occur
*/
#define FILENAME 128
/*
* Define standard compiler flags here:
*/
#define COMPILER_FLAGS
/*
* If your system requires other libraries when linking nn
* specify them here:
*/
#define EXTRA_LIB